package com.bionet.keggservice.service;

import com.bionet.keggservice.entity.KeggCompoundLinkPathway;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashSet;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hzx
 * @since 2021-06-28
 */
public interface KeggCompoundLinkPathwayService extends IService<KeggCompoundLinkPathway> {
    public List<String> getCompoundInWhichPathway(String compound);
    public List<String> getCompoundInAPathway(String pathway);
    public Integer countCompoundInAPathway(List<String> cpdList, String pathway);
    public Integer countCompoundInAllPathway(String endPathway);
    public HashSet<String> getAllPathway(String endPathway);
    public double Hypergeometric(Integer M, Integer N, Integer X, Integer K);
}
